var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/mern-starter');

var team_message_Schema = mongoose.Schema({
  role: String,
  id: String,
  title: String,
  starttime: String,
  endtime: String,
  contactWay: String,
  contactValue: String,
  content: String,
  rcontent: String
});

var team_message = mongoose.model('team_messages', team_message_Schema);

module.exports = {
  team_message: team_message
};
